import Vue from 'vue'
import App from './App.vue'
import router from './router'

Vue.config.productionTip = false

//根实例        
new Vue({
  router,//相当于 router:router
  render: h => h(App)
}).$mount('#app')                 //将根实例挂载到div


//项目初始化
//1.git clone https://gitee.com/chenkaidong/mickey-clubhouse.git
//2.vue create mickey-clubhouse
//3.选择manuall select features,babel,router,2.x,yes,in package.json,no
//4.cd mickey-clubhouse
//5.npm run serve

//从gitee上下载项目
//1.git clone https://gitee.com/chenkaidong/mickey-clubhouse.git
//2.cd mickey-clubhouse
//3.npm install
//4.npm run serve

//上传至gitee
//1.cd mickey-clubhouse
//2.git status
//3.git add .
//4.git commit -m '(为此次上传操作取名)'
//5.git config --global user.email "1848030638@qq.com"
//6.git config --global user.name "陈凯东"
//7.git commit -m '(为此次上传操作取名)'
//8.git push

//如果文件没有关联远程仓库如何上传至gitee
// //git仓库初始化
// git init
// //添加到本地缓存
// git add .
// //提交到本地仓库
// git commit -m “你的注释”
// //关联到远程仓库
// git remote add origin “你的仓库地址。。”
// //拉取远程仓库
// git pull --rebase origin master
// //推送到远程仓库
// git push -u origin master


//老师上课代码
//https://gitee.com/zye3511237/my-film/